Fixed some bugs, which occured using the new backend