fixed compile errors for 1b