remove debug line and a deprecated