change java return action