Looks like you found the root of the problem already.