add more evilness and prevent some errors