fixed some function calls