maybe fixed Q casting

awd