fixing slight compile error