removed an is none check, fixed a whitespace mistake