fixed bug in copying settings to user directory