fixed missing declaration error