attempting err fixes