fixed the prior problem