fix for prof plots