fixed return types on func/action methods