fixed a bug in release processing