before crazy gallery changes