fixing pt to px and a typo