Remove unecessary bit of code