fixed bug in user scaffold