clean up PHP code.
Add filter to Ruby SQLHelper.