Some fixes in profiles