remove incorrect bit of code