fixed array problem in plot entries