Null text parameter

Fixed null Text parameter's properties being accessed