Fixed bug, removing logging