Fixed variable in trait problem