bug file fixed

note to self close idea before committing