fixed create invoice. YAY!