removed a useless piece of code