fixed URL handling for material select :melon: