fixed a bug with the build