Fixed a couple of bugs and started to put a function for modify noneElements