Hopefully fixed all bugs with backend