fixed problem with inherited parameter-detection