fix assets check