fixed more compilication errors