fixed problem with re-build