less hacky solution that might fix browse