resolved compile errors