added decode not scale