Improve code style
Fix error in LIKE SQL query