Fixing compiler error for 4S