Added bug fix where declaration crashed when adding =