Fixed a bug that prevented all variable assignment