improve error notice