Fix wrong implementation.