Fixed a bug that was causing the even barrier to come null