Fixes error in backend.