missing imagedir.patch added