Removing superfluous printf (debug)