weird stuff with public dir going on