After having this issue, i found out that the problem was with the naming, the name and value cannot be the same even if one is with upper case and other with lower.