added dependancy and fix compile error