Fix units for php 5.3.