config and app paths fixes