fix transfer.php