make the sanitize method return the same object type that is passed in
basename is apparently not active inside this webapp
make the asset-editing page actually work