Fixed bug with _if