Fix bug
copy code after building