Add debug logging since it's not working