remove debugging statement
fix type error