fixing release mode not being release mode