fixed ami again