fix custom block loader