adding payed button, fixing some NPE