Fixes dock error