fixed but with new errors