Removes scanning bug