Fixed mixing of tabs and spaces

Signed-off-by: Ian bell <ian.h.bell@gmail.com>