fix the only method, that wasn't tested