Fixes for WHMCS OnApp Integration