fix debug and release