Fixed the requirements resize bug.

Change-Id: If9380bec0fffa4f2ae8d6464e90b7e209ce9061e
Merge "Fixed the requirements resize bug." into dev