minor plugin fixes