MSS-94 php 5.3 fix