Add related method for foreign key
html fix