fixes stupid issue regarding whenever syntax