Fix monit: 6th try - fix if ending