dont put it on the same line. make it so its:

if () {
// code 
}