removes unnecessary continue