Remove useless begin..end