fixed misimplemented input device