fixed some minor bugs in amazing client