remove alpha channel and add default dir