added iOS conditions to return standard elements