support remap function for controller