Fixed silly cast that might have runtime effects (not really sure tbh)