[Core] fixed bug in Pastels.load