fixed an error with the wrapper div