Fix error on content loading