removed orientation bug  for spinner