master: fix type of attribute