fixed: compile errors