fixed message logger and python layout