fixed set method error