fix for ps3 device index bug