fix display problems on persmissions
create sample for index.html