release build fix
minor fixes