fixed bug in release script