take out useless returns