Fixed php issue