fix can edit check for albums that broke if it isn't defined