fixed elif compilation bug with