fixes and release build