Removed useless if from source