compile errors' workaround