Fixed some backend problems