Fixed resolution issue, removed sample when page is loaded