changed ordering of log messages