Bugfix i plot