reverted materialbox change to improve performance