'prepared statement already exist' problem fixed