fixed error that was being a PITA on compiled client