removed unneded check