fixing issue compilation issue on 4s