remove warnings in purhases