fix incorrect splitting of create procedure statement