Fixes wrong implementation