fixed issues with natural log and keyboard resizing issue