added (weak) checks for dev builds