Fixed deserialization of parameters