fixing smedium -> medium