checking for any instruction follwoing insert : syntax error