core and weight unit not working together