properly handles tokens for box