Fixed problem with bad amount