Removed some useless logs
Removed unused variable.