fixing pow and fixing things on frontend