fixed up gen server call guard condition