fix elif case amber prep