changed config to make work with iphone also