fixing custom link creation