fixes notices, rm validation