Adapted examples to unit paramter
Bug fix