build version need refact and debug