fixed compile errors

there were some error because of some changes in the interface. It should compile normally now.