changed canvas get to post