working on error fix