Removing useless check