fixed runtime compile error