fixed inverse issue