fix incorrect options merge