fix magic brake with uglify