fixed bug w/ profiles