Fix player load/save functions