Removed extra debug logic