fix #1265 flathead to appmaker