modify some reference for release build