bug fix after build