Facebook says sorry for 'bugs' tracking users