fixed NPE due to malformed flag on /ps toggle (closes #526)
fixed error when loading player data from db