fixes code errors and missing assets implementation