fixing bug in sigma M500