Fix for mis use of plists

Next time, please check if the value exists before you call it