code cleanup slug / filetype fixes