fix plot() and getters()