fixed a bug in user file parsing