fragments: added magic setter
fixed setup, closes #354