fixed initial compile errors