dirty solution for warning