error log added for Max