Error log improved