fixed better errors error