couple of bugs fixed in build command