correct missing `end` line