still problems with dynamic check