fix delayed calc