remove unused code
bug fixed for PreparedStatementImpl