profile fix + fix #3