fix make patch
start work on different build function