hotfix- forgot to add a document ready function
fixed completely