clean comments and delete debug slot logger