Fixing request attribute problem