fixing issue with undefined variable and incrementing version to 1.3.1