trying to fix compile error