debug line fixes