fix for compile error