fixing user resource