Fixed issue when page return error