improved error