Fixed problem with scaling md2s