bugfix on build_src