fixed issue when creating a proposal with default period